package com.husky.diyservice.common.annotation;

import com.husky.diyservice.common.general.ChannelProxyEnum;
import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author husky
 * @Date 2022/12/13 16:32
 * @Description: 渠道代理注解 用来代替@service 注解
 **/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Component
public @interface ChannelProxyServiceAnnotation {

    /**
     * 渠道代理
     * @return
     */
    ChannelProxyEnum channelInfo();
}
